Fixes #2746 Create the Docs microservice #2776
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue This PR Addresses
#2746
Type of Change
Description
How to review this PR locally the old-school way. Gitpod might work but I haven't tried it yet.
git remote add cindyledev https://github.com/cindyledev/telescope.git
git fetch cindyledev
git checkout docs-microservice
pnpm install
pnpm services:start
This is the first time I'm creating a microservice so I'm having some trouble with how either Traefik is stripping the URL or perhaps something to do with the Next.js side?
Visiting
localhost:4631
takes you to the Next.js app running in the Docker container as expectedHowever, when you visit the API route
localhost/v1/docs
, you get an 202 OK response which is also goodbut it thinks the Next.js files are at
localhost/_next/*
, I want it route tolocalhost/v1/docs/_next/*
If you manually go to
http://localhost/v1/docs/favicon.ico
Checklist